import layout from "@/page/index/index.vue";

export default [
  {
    path: "/myiframe",
    component: layout,
    redirect: "/myiframe",
    children: [
      {
        path: ":routerPath",
        name: "iframe",
        props: true,
        meta: { keepAlive: true },
        component: () =>
          import(/* webpackChunkName: "page" */ "@/components/iframe/main")
      }
    ]
  },
  {
    path: "/info",
    component: layout,
    redirect: "/info/index",
    children: [
      {
        path: "index",
        name: "个人信息",
        meta: { keepAlive: true },
        component: () =>
          import(/* webpackChunkName: "page" */ "@/views/admin/user/info")
      }
    ]
  },
  {
    path: "/lock",
    name: "锁屏页",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/page/lock/index.vue")
  },
  {
    path: "/login",
    name: "login",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/page/login/index.vue")
  },
  {
    path: "/homeapp",
    name: "homeapp",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/views/index/system/Homeapp.vue")
  }
];
